Component({
  options: {
    styleIsolation: "shared",
    multipleSlots:true
  },
  properties: {
    order: Object
  },
  methods: {
    toOrderDetail(event) {
      wx.navigateTo({
        url: `/pages/order/detail/detail?orderStr=${JSON.stringify(event.target.dataset.order)}`,
      })
    }
  }
})